<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link href="${pageContext.request.contextPath}/fonts/iconfont.css" rel="stylesheet" />
<link href="${pageContext.request.contextPath}/css/setseat.css" rel="stylesheet" />
</head>
<body>
  <div class="maketitle"><h2>店铺座位设置</h2></div>
  <br><br><br><br><br><br><br><br>
  <div style="margin-left:35px;">
    <c:forEach items="${seatlist }" var="sl">
     <div class="seatone"><span class="iconfont icon-zuowei"><p>${sl.seatnum}</p>
     <a href="delseat.action?bathid=${sl.bathid}&merid=${sl.merid}&seatnum=${sl.seatnum}">取消</a></div>
    </c:forEach>
   </div>
   <br><br><br><br>
   <div style="margin-left:20%;">
   <form action="${pageContext.request.contextPath }/addseat.action">
   <table>
     <input typr="text" value="${bathall.bathid }" name="bathid" style="display:none;">
     <input typr="text" value="${USER_SESSION_MER.merid }" name="merid" style="display:none;">
     <tr><td>座位数：</td><td><input typr="text" name="seatnum"></td></tr>
     <tr><td>票价：</td><td><input typr="text" name="seatprice"></td></tr>
     <tr><td>性别：</td><td><input type="radio" name="seatsex" value="0" checked style="width:40px;height:40px;">男
     <input type="radio" name="seatsex" value="1" style="width:40px;height:40px;">女</td></tr>
     <input typr="text" value="0" name="seatflag" style="display:none;">
     <tr><td colspan="2"><input type="submit" value="设置座位" style="margin-left:100px;boder:none;background-color:rgb(153, 184, 202);"></td></tr>
     </table>
  </form>
  <form action="${pageContext.request.contextPath }/makeseat.action">
     <input typr="text" value="${USER_SESSION_BOTH.bathid }" name="bathid" style="display:none;">
     <input typr="text" value="${USER_SESSION_MER.merid }" name="merid" style="display:none;">
     <input type="submit" value="修改座位"  style="margin-left:100px;boder:none;background-color:rgb(153, 184, 202);">
  </form>
  </div>
   
   
</body>
</html>